﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Portal.Web.Areas.Admin.Controllers
{
    public class KndeditorController : BaseAdminController
    {
        /// <summary>
        /// Kndeditor上传文件
        /// </summary>
        /// <param name="type"></param>
        public void UploadFileJson(string type = "Default")
        {
            var kndeditor = new KndeditorHelper(System.Web.HttpContext.Current, type, CurrentUserName);
            kndeditor.UploadJson();
        }
        /// <summary>
        /// Kndeditor文件管理
        /// </summary>
        public void FileManagerJson(string type = "Default")
        {
            var kndeditor = new KndeditorHelper(System.Web.HttpContext.Current, type, CurrentUserName);
            kndeditor.FileManagerJson();
        }


    }
}
